import request from '@/utils/request'

export function getPerformances(data) {
  return request({
    url:'/performance/list',
    method:'post',
    data,
  })
}

export function getPerformanceDetail(data) {
  return request({
    url:'/performance/details',
    method:'post',
    data,
  })
}

export function delPerformance(data) {
  return request({
    url:'/performance/delete',
    method:'post',
    data,
  })
}

export function saveOrUpdatePerformance(data) {
  return request({
    url:'/performance/saveOrUpdate',
    method:'post',
    data,
  })
}
